home *** CD-ROM | disk | FTP | other *** search
/ Best of Shareware / Best of PC Windows Shareware 1.0 - Wayzata Technology (7111) (1993).iso / pc / dos / networks / tpapi / nwtts.pa1 < prev    next >
Text File  |  1992-03-02  |  3KB  |  75 lines

  1. {!R! FONT 15; FTMD 15; EXIT;}
  2.  
  3.  
  4. {***************************************************************************}
  5. {** Program : NWTTS                                                       **}
  6. {***************************************************************************}
  7. {** Version : 1.3             ** Started : 11/11/91  ** Ended :   /  /    **}
  8. {***************************************************************************}
  9. {******************************** Description ******************************}
  10. {***************************************************************************}
  11. {** OOP library for Netware API                                           **}
  12. {**                                                                       **}
  13. {** This unit forms the second level object : TTS                         **}
  14. {** This object is a descandent of          : NETWARE                     **}
  15. {**                                                                       **}
  16. {**                                                                       **}
  17. {**                                                                       **}
  18. {**                                                                       **}
  19. {***************************************************************************}
  20. {******************************** Information ******************************}
  21. {***************************************************************************}
  22. {** Provides Netware Transaction Tracking Services                        **}
  23. {**                                                                       **}
  24. {**                                                                       **}
  25. {**                                                                       **}
  26. {** This code is (c) 1991,1992 Tony Covelli                               **}
  27. {** Portions (c) Novell Inc,                                              **}
  28. {**                                                                       **}
  29. {**                                                                       **}
  30. {***************************************************************************}
  31.  
  32. {$I NETWARE.INC}
  33.  
  34. UNIT NWTTS;
  35.  
  36. INTERFACE
  37.  
  38. USES
  39.  
  40.   netware, nwvar;
  41.  
  42. TYPE
  43.  
  44.   pTTSOBJ = ^TTSOBJ;
  45.   TTSOBJ  = object (NetwareOBJ)
  46.  
  47.     CONSTRUCTOR Init;
  48.  
  49.     FUNCTION    TTSAbortTransaction : WORD;
  50.  
  51.     FUNCTION    TTSBeginTransaction : WORD;
  52.  
  53.     FUNCTION    TTSEndTransaction           (VAR TransactionNumber) : WORD;
  54.  
  55.     FUNCTION    TTSGetApplicationThresholds (VAR LogicalRecordLockThreshold;
  56.                                              VAR PhysicalRecordLockThreshold) : WORD;
  57.  
  58.     FUNCTION    TTSGetWorkStationThresholds (VAR LogicalRecordLockThreshold;
  59.                                              VAR PhysicalRecordLockThreshold) : WORD;
  60.  
  61.     FUNCTION    TTSIsAvailable : WORD;
  62.  
  63.     FUNCTION    TTSSetApplicationThresholds (LogicalRecordLockThreshold,
  64.                                              PhysicalRecordLockThreshold : BYTE) : WORD;
  65.  
  66.     FUNCTION    TTSSetWorkStationThresholds (LogicalRecordLockThreshold,
  67.                                              PhysicalRecordLockThreshold : BYTE) : WORD;
  68.  
  69.     FUNCTION    TTSTransactionStatus        (VAR TransactionNumber) : WORD;
  70.  
  71.     DESTRUCTOR  Done; VIRTUAL;
  72.  
  73.   END;
  74.  
  75.